home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter me
- cursor(280)
- puppetSprite(the currentSpriteNum, 1)
- set the member of sprite the currentSpriteNum to "mute.roll"
- set the text of field "rollover Text" to "Click here to toggle the sound."
- end
-
- on mouseLeave me
- cursor(-1)
- puppetSprite(the currentSpriteNum, 0)
- set the text of field "rollover Text" to EMPTY
- end
-
- on mouseDown me
- global originalVolume
- set the member of sprite the currentSpriteNum to "mute.press"
- if the soundLevel <> originalVolume then
- set the soundLevel to originalVolume
- else
- set the soundLevel to 0
- end if
- end
-
- on mouseUp me
- set the member of sprite the currentSpriteNum to "mute.roll"
- end
-